package independentsetproblem;

public class Vertex
{
    private String label;
    private boolean inMaxIndSet;

    public Vertex(String l)
    {
        label = l;
        inMaxIndSet = false;
    }

    public void addToMaxIndSet()
    {
        inMaxIndSet = true;
    }

    public boolean getInMaxIndSet()
    {
        return inMaxIndSet;
    }

    @Override
    public String toString()
    {
        return label;
    }

}
